import request from '@/utils/request.ts'
import type { userLoginInfo } from '@/types/user'
export function login(data: userLoginInfo) {
    return request({
        url: '/user/login',
        method: 'post',
        data
    })
}